package frobagroup.services.backstage;

import frobagroup.entities.backstage.CarouselFigure;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

/**
 * Created by Tinsley on 2017/6/19.
 */
public interface StaffCarouselFigureService {
    //uId操作人 pId商品id cId轮播图Id
    CarouselFigure addOrEditCarousel(MultipartFile pic, String sId, String pId,
                                     String cId, String describe,String whichType,String type)throws Exception;
    List<CarouselFigure> findCarousels(Map<String, String> params);
    boolean changeStatus(String cId, String status, String sId);
    void remove(String id, String picUrl)throws Exception;
}
